<?php


namespace app\common\model;


use think\Model;

/**
 * 路由表
 * Class Route
 * @package app\common\model
 */
class Route extends Model
{
    public function treeList()
    {
        $route = $this
            ->order("weigh DESC")
            ->select()
            ->toArray();
        return $route;
    }
}
